﻿using System;
using System.ComponentModel.DataAnnotations;
using Wicresoft.CustomerAttributes;

namespace Wicresoft.Entity.AREntity
{
    [Table("CTM_Support_Group_Association")]
    [ARForm("CTM:Support Group Association")]
    public class PGAssociation
    {
        [Key]
        [AREntryId]
        [Column("Support_Group_Association_ID")]
        public string PGId { get; set; }

        [Column("Person_ID")]
        [ARField(1000000080, ARDataType.Character)]
        public string PeopleId { get; set; }

        [Column("Support_Group_ID")]
        [ARField(1000000079, ARDataType.Character)]
        public string GroupId { get; set; }

        [NotMapped]
        [ARField(4, ARDataType.Character)]
        public string Alias { get; set; }

        [NotMapped]
        [ARField(1000000017, ARDataType.Character)]
        public string FullName { get; set; }

        [NotMapped]
        [ARField(1000000401, ARDataType.Character)]
        public string Role { get; set; }
    }
}
